package com.rs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.rs.model.Department;
@Mapper
public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer de_id);

    int insert(Department record);

    Department selectByPrimaryKey(Integer de_id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

	List<Department> departmentAll();

	Integer departmentAdd(Department department);

	Integer departmentDel(Department department);

	Integer departmentUpdate(Department department);
}